package zuoye1;

import java.util.Scanner;

public class Demo3 {
    public static void main(String[] args) {
        System.out.print("输入一个月份：");
        int month = new Scanner(System.in).nextInt();
        if (month < 1 || month > 12) {
            System.err.println("输入错误");
            return;
        }
        if (month >= 3 && month <= 5) {
            System.out.println("春天-春暖花开 xxxx-xxxx");
        } else if (month >= 6 && month <= 8) {
            System.out.println("夏天-夏日炎炎 热死人");
        } else if (month >= 9 && month <= 11) {
            System.out.println("秋天-叶子黄了 睡觉");
        } else {
            System.out.println("冬天-下雪了 冬眠");
        }
    }
}
